import "pkl:test"

res1 = test.catch(() -> new Mapping {
  when (false) { [0] = 0 }
  ["barn owl"] = 1
  ["pigeon"] = 2
  ["barn " + "owl"] = 3
})

res2 = test.catch(() -> new Mapping {
  when (false) { [0] = 0 }
  ["ba" + "rn owl"] = 1
  ["pigeon"] = 2
  ["barn" + " owl"] = 3
})
